﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Internet_Deliver_Therapy.Views.Index.Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <h1 style="language: en-US; margin-top: 0pt; margin-bottom: 0pt; margin-left: 0in; text-align: center; direction: ltr; unicode-bidi: embed; mso-line-break-override: none; word-break: normal; punctuation-wrap: hanging">&nbsp;&nbsp; WELCOME TO HEALING GARDEN</h1>
    <article><p class="text-danger">
        &nbsp;</p>
    <p class="text-danger">
        <asp:Literal runat="server" ID="ErrorMessage" />
    </p>
    <asp:ValidationSummary runat="server" CssClass="text-danger" />
    <asp:Label ID="lblEmail" runat="server" Text="REGISTERED EMAIL"></asp:Label>
    <br/>
    <asp:TextBox ID="tbEmail" runat="server"></asp:TextBox>
    <asp:RequiredFieldValidator runat="server" ControlToValidate="tbEmail" CssClass="text-danger" ErrorMessage="The Email field is required." />
    <asp:RegularExpressionValidator runat="server" ControlToValidate="tbEmail" CssClass="text-danger" Display="Dynamic" 
        ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ErrorMessage="Please enter a valid Email" />
    <br />
    <asp:Label ID="lblPassword" runat="server" Text="PASSWORD"></asp:Label>
    <br />
    <asp:TextBox ID="tbPassword" runat="server" TextMode="Password"></asp:TextBox>
    <asp:RequiredFieldValidator runat="server" ControlToValidate="tbPassword" CssClass="text-danger" ErrorMessage="The Password field is required." />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="btnLogin" runat="server" Text="Login" onClick ="Login_Click"/>
    <br />
    <asp:HyperLink ID="hlForgetPassword" runat="server"><a href = "ForgetPassword.aspx">Forget Password</a></asp:HyperLink>&nbsp;|&nbsp;<asp:HyperLink ID="hlRegistration" runat="server"><a href = "Registration.aspx">Register New Account</a></asp:HyperLink><br />
    

    </article>
</asp:Content>
